package com.ruoyi.contact.domain;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/** * 联系记录对象
 contact_record
 *  * @author
 ruoyi * @date
 2025-05-30
 */public class ContactRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;
    /** 记录
     ID */    private Long recordId;
    /** 联系人
     ID */    @Excel(name = "联系人ID")
    private Long contactId;
    private String contactName;
    /** 联系类型
     */    @Excel(name = "联系类型")
    private String contactType;
    /** 联系内容
     */    @Excel(name = "联系内容")
    private String contactContent;
    /** 联系时间
     */    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @Excel(name = "联系时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date contactTime;
    /** 下次联系时间
     */    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @Excel(name = "下次联系时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date nextContactTime;
    /** 用户
     ID */    @Excel(name = "用户ID")
    private Long userId;
    public String getContactName() {
        return contactName;
    }
    public void setContactName(String contactName) {
        this.contactName = contactName;
    }
    public void setRecordId(Long recordId)
    {
        this.recordId = recordId;
    }
    public Long getRecordId()
    {
        return recordId;
    }
    public void setContactId(Long contactId)
    {
        this.contactId = contactId;
    }
    public Long getContactId()
    {
        return contactId;
    }
    public void setContactType(String contactType)
    {
        this.contactType = contactType;
    }
    public String getContactType()
    {
        return contactType;
    }
    public void setContactContent(String contactContent)
    {
        this.contactContent = contactContent;
    }
    public String getContactContent()
    {
        return contactContent;
    }
    public void setContactTime(Date contactTime)
    {
        this.contactTime = contactTime;
    }
    public Date getContactTime()
    {
        return contactTime;
    }
    public void setNextContactTime(Date nextContactTime)
    {
        this.nextContactTime = nextContactTime;
    }
    public Date getNextContactTime()
    {
        return nextContactTime;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }
    public Long getUserId()
    {
        return userId;
    }
    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("recordId", getRecordId())
                .append("contactId", getContactId())
                .append("contactType", getContactType())
                .append("contactContent", getContactContent())
                .append("contactTime", getContactTime())
                .append("nextContactTime", getNextContactTime())
                .append("userId", getUserId())
                .append("createTime", getCreateTime())
                .toString();
    }
}
